package com.amigo.online.provider.video.exception;

import com.amigo.online.common.base.exception.BaseException;
import com.amigo.online.common.core.response.StatusCode;

@SuppressWarnings("serial")
public class FileUploadException extends BaseException {

    public FileUploadException() {
        super();
    }

    public FileUploadException(String message) {
        super(message);
    }

    public FileUploadException(StatusCode statusCode) {
        super(statusCode);
    }

    public FileUploadException(StatusCode statusCode, String message) {
        super(statusCode, message);
    }

    public FileUploadException(String message, Throwable ex) {
        super(message, ex);
    }

    @Override
    protected StatusCode getStatusCode() {
        return super.statusCode != null ? super.statusCode : StatusCode.VIDEO_EXCEPTION;
    }

}
